package com.itheima.system.pojo.oss;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author qiankaofei
 * @version 1.0
 * @date 2020/11/21 20:48
 */
@ConfigurationProperties(prefix = "ly.oss")
@Component
@Getter
@Setter
public class OOSProperties {

    private String accessKeyId;

    private String accessKeySecret;

    private String host;

    private String endpoint;

    private String dir;

    private Long expireTime;

    private Long maxFileSize;

    private String buketName;

    private String ossurl;

    private String contentType;

}
